﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CacheData
{
    /// <summary>
    /// 缓存配置
    /// </summary>
    public class CacheSettings
    {
        /// <summary>
        /// Redis在线状态
        /// </summary>
        public bool RedisOnline { get; set; }
        /// <summary>
        /// 锁超时时间
        /// </summary>
        public int LockTimeOut { get; set; }
        /// <summary>
        /// 默认缓存时间
        /// </summary>
        public int CacheTime { get; set; }
        /// <summary>
        /// redis服务器地址
        /// </summary>
        public string RedisHost { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RedisPassword { get; set; }
        /// <summary>
        /// redis连接字符串
        /// </summary>
        public string RedisConnectionString { get; set; }
    }
}
